import request from '@/utils/request'

//个人查询年度考核记录列表 /hrm/record/appraiselist
export function listAppraise(query) {
  return request({
    url: '/hrm/record/appraiselist',
    method: 'get',
    params: query
  })
}

//个人查询证书列表  /dev-api/back/certificate/certificateList
export function listCertificate(query) {
  return request({
    url: '/back/certificate/certificateList',
    method: 'get',
    params: query
  })
}


// 个人查询培训计划 /dev-api/hrm/training/trainingList
export function listTraining(query) {
  return request({
    url: '/hrm/training/trainingList',
    method: 'get',
    params: query
  })
}

//个人查询奖励列表 /dev-api/hrm/reward/listReward
export function listReward(query) {
  return request({
    url: '/hrm/reward/listReward',
    method: 'get',
    params: query
  })
}


// 个人查询惩罚列表 /hrm/punish/listPunish
export function listPunish(query) {
  return request({
    url: '/hrm/punish/listPunish',
    method: 'get',
    params: query
  })
}


// 个人查询劳动合同  /dev-api/back/contract/contractList
export function listContract(query) {
  return request({
    url: '/back/contract/contractList',
    method: 'get',
    params: query
  })
}